package com.woniuxy.factory.service.imp;

import com.woniuxy.factory.entity.WorkShop;
import com.woniuxy.factory.mapper.WorkShopMapper;
import com.woniuxy.factory.service.WorkShopService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class WorkShopServiceImp implements WorkShopService {
    @Autowired
    WorkShopMapper workShopMapper;
    @Override
    public List<WorkShop> findWorkShop() {
        return workShopMapper.selectWorkShop();
    }
}
